<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <!--
    method 属性值为 post 时，数据的编码方式
     ● application/x-www-form-urlencoded
     ● multipart/form-data
     ● text/plain
  -->
  <form action="./enctype.html" method="post" enctype="multipart/form-data">
    <input type="file">
    <input type="submit">
  </form>
</body>

</html>